package com.bw.cart.service;


import com.bw.domain.*;
import com.bw.domain.vo.CartVo;

import java.math.BigDecimal;
import java.util.List;

public interface CartService {





    List<CartVo> selectCartList(Long userid);

    void insert(Long skuId, Long num);

    List<PmsSkuInfo> settlementList(SettlementParameter settlementParameters);

    /**
     * 优惠卷结算
     * @param couponParameter
     * @return
     */
    BigDecimal couponSettlement(CouponParameter couponParameter);

    /**
     * 商品对应的优惠卷列表
     * @param skuId
     * @return
     */
    List<DiscountCoupon> couponBySettlementId(Long skuId);

    void changeNum(ChangeNum changeNum);

}
